<?php
class UserShopVo extends SzAbstractMySqlVo
{

    private $userId;
    private $dateInt;
    private $ymd;
    private $gold;
    private $goldDetail;
    private $gem;
    private $gemDetail;
    private $exp;
    private $expDetail;
    private $grandmonther;
    private $grandmontherDetail;
    private $water;
    private $waterDetail;
    private $other1;
    private $other1Detail;
    private $other2;
    private $other2Detail;
    private $other3;
    private $other3Detail;
    private $recFlower;
    private $sellFlower;
    private $flowerOrder;
    private $createTime;

    /**
     * Initialize UserShopVo.
     *
     * @param $userId
     * @param $dateInt
     * @param $ymd
     * @param $gold
     * @param $goldDetail
     * @param $gem
     * @param $gemDetail
     * @param $exp
     * @param $expDetail
     * @param $grandmonther
     * @param $grandmontherDetail
     * @param $water
     * @param $waterDetail
     * @param $other1
     * @param $other1Detail
     * @param $other2
     * @param $other2Detail
     * @param $other3
     * @param $other3Detail
     * @param $recFlower
     * @param $sellFlower
     * @param $flowerOrder
     * @param $createTime
     * @param boolean $isInsert default false, means for now this vo is initialized not for insert process
     * @return UserShopVo
     */
    public function __construct($userId, $dateInt, $ymd, $gold, $goldDetail, $gem, $gemDetail, $exp, $expDetail, $grandmonther, $grandmontherDetail, $water, $waterDetail, $other1, $other1Detail, $other2, $other2Detail, $other3, $other3Detail, $recFlower, $sellFlower, $flowerOrder, $createTime, $isInsert = false) {
        $this->userId = $userId;
        $this->dateInt = $dateInt;
        $this->ymd = $ymd;
        $this->gold = $gold;
        $this->goldDetail = $goldDetail;
        $this->gem = $gem;
        $this->gemDetail = $gemDetail;
        $this->exp = $exp;
        $this->expDetail = $expDetail;
        $this->grandmonther = $grandmonther;
        $this->grandmontherDetail = $grandmontherDetail;
        $this->water = $water;
        $this->waterDetail = $waterDetail;
        $this->other1 = $other1;
        $this->other1Detail = $other1Detail;
        $this->other2 = $other2;
        $this->other2Detail = $other2Detail;
        $this->other3 = $other3;
        $this->other3Detail = $other3Detail;
        $this->recFlower = $recFlower;
        $this->sellFlower = $sellFlower;
        $this->flowerOrder = $flowerOrder;
        $this->createTime = $createTime;

        $this->isInsert = $isInsert;
        $this->voClassName = 'UserShopVo';
        $this->ormName = 'UserShop';
    }

    /**
     * @see SzAbstractVo::toArray
     */
    public function toArray($needEncode = false)
    {
        return array(
            'userId' => $this->getUserId(),
            'dateInt' => $this->getDateInt(),
            'ymd' => $this->getYmd(),
            'gold' => $this->getGold(),
            'goldDetail' => $this->getGoldDetail(),
            'gem' => $this->getGem(),
            'gemDetail' => $this->getGemDetail(),
            'exp' => $this->getExp(),
            'expDetail' => $this->getExpDetail(),
            'grandmonther' => $this->getGrandmonther(),
            'grandmontherDetail' => $this->getGrandmontherDetail(),
            'water' => $this->getWater(),
            'waterDetail' => $this->getWaterDetail(),
            'other1' => $this->getOther1(),
            'other1Detail' => $this->getOther1Detail(),
            'other2' => $this->getOther2(),
            'other2Detail' => $this->getOther2Detail(),
            'other3' => $this->getOther3(),
            'other3Detail' => $this->getOther3Detail(),
            'recFlower' => $this->getRecFlower(),
            'sellFlower' => $this->getSellFlower(),
            'flowerOrder' => $this->getFlowerOrder(),
            'createTime' => $this->getCreateTime(),
        );
    }

    /**
     * @see SzAbstractVo::toEntireArray
     */
    public function toEntireArray($needEncode = false)
    {
        return array(
            'userId' => $this->getUserId(),
            'dateInt' => $this->getDateInt(),
            'ymd' => $this->getYmd(),
            'gold' => $this->getGold(),
            'goldDetail' => $this->getGoldDetail(),
            'gem' => $this->getGem(),
            'gemDetail' => $this->getGemDetail(),
            'exp' => $this->getExp(),
            'expDetail' => $this->getExpDetail(),
            'grandmonther' => $this->getGrandmonther(),
            'grandmontherDetail' => $this->getGrandmontherDetail(),
            'water' => $this->getWater(),
            'waterDetail' => $this->getWaterDetail(),
            'other1' => $this->getOther1(),
            'other1Detail' => $this->getOther1Detail(),
            'other2' => $this->getOther2(),
            'other2Detail' => $this->getOther2Detail(),
            'other3' => $this->getOther3(),
            'other3Detail' => $this->getOther3Detail(),
            'recFlower' => $this->getRecFlower(),
            'sellFlower' => $this->getSellFlower(),
            'flowerOrder' => $this->getFlowerOrder(),
            'createTime' => $this->getCreateTime(),
        );
    }

    /**
     * @see SzAbstractVo::toPureArray
     */
    public function toPureArray()
    {
        return array(
            $this->getUserId(),
            $this->getDateInt(),
            $this->getYmd(),
            $this->getGold(),
            $this->getGoldDetail(),
            $this->getGem(),
            $this->getGemDetail(),
            $this->getExp(),
            $this->getExpDetail(),
            $this->getGrandmonther(),
            $this->getGrandmontherDetail(),
            $this->getWater(),
            $this->getWaterDetail(),
            $this->getOther1(),
            $this->getOther1Detail(),
            $this->getOther2(),
            $this->getOther2Detail(),
            $this->getOther3(),
            $this->getOther3Detail(),
            $this->getRecFlower(),
            $this->getSellFlower(),
            $this->getFlowerOrder(),
            $this->getCreateTime(),
        );
    }

    public function getUserId()
    {
        return $this->userId;
    }

    public function setUserId($val)
    {
        $this->saveColumnStatus(0, $this->userId);
        $this->userId = $val;
    }

    public function getDateInt()
    {
        return $this->dateInt;
    }

    public function setDateInt($val)
    {
        $this->saveColumnStatus(1, $this->dateInt);
        $this->dateInt = $val;
    }

    public function getYmd()
    {
        return $this->ymd;
    }

    public function setYmd($val)
    {
        $this->saveColumnStatus(2, $this->ymd);
        $this->ymd = $val;
    }

    public function getGold()
    {
        return $this->gold;
    }

    public function setGold($val)
    {
        $this->saveColumnStatus(3, $this->gold);
        $this->gold = $val;
    }

    public function getGoldDetail()
    {
        return $this->goldDetail;
    }

    public function setGoldDetail($val)
    {
        $this->saveColumnStatus(4, $this->goldDetail);
        $this->goldDetail = $val;
    }

    public function getGem()
    {
        return $this->gem;
    }

    public function setGem($val)
    {
        $this->saveColumnStatus(5, $this->gem);
        $this->gem = $val;
    }

    public function getGemDetail()
    {
        return $this->gemDetail;
    }

    public function setGemDetail($val)
    {
        $this->saveColumnStatus(6, $this->gemDetail);
        $this->gemDetail = $val;
    }

    public function getExp()
    {
        return $this->exp;
    }

    public function setExp($val)
    {
        $this->saveColumnStatus(7, $this->exp);
        $this->exp = $val;
    }

    public function getExpDetail()
    {
        return $this->expDetail;
    }

    public function setExpDetail($val)
    {
        $this->saveColumnStatus(8, $this->expDetail);
        $this->expDetail = $val;
    }

    public function getGrandmonther()
    {
        return $this->grandmonther;
    }

    public function setGrandmonther($val)
    {
        $this->saveColumnStatus(9, $this->grandmonther);
        $this->grandmonther = $val;
    }

    public function getGrandmontherDetail()
    {
        return $this->grandmontherDetail;
    }

    public function setGrandmontherDetail($val)
    {
        $this->saveColumnStatus(10, $this->grandmontherDetail);
        $this->grandmontherDetail = $val;
    }

    public function getWater()
    {
        return $this->water;
    }

    public function setWater($val)
    {
        $this->saveColumnStatus(11, $this->water);
        $this->water = $val;
    }

    public function getWaterDetail()
    {
        return $this->waterDetail;
    }

    public function setWaterDetail($val)
    {
        $this->saveColumnStatus(12, $this->waterDetail);
        $this->waterDetail = $val;
    }

    public function getOther1()
    {
        return $this->other1;
    }

    public function setOther1($val)
    {
        $this->saveColumnStatus(13, $this->other1);
        $this->other1 = $val;
    }

    public function getOther1Detail()
    {
        return $this->other1Detail;
    }

    public function setOther1Detail($val)
    {
        $this->saveColumnStatus(14, $this->other1Detail);
        $this->other1Detail = $val;
    }

    public function getOther2()
    {
        return $this->other2;
    }

    public function setOther2($val)
    {
        $this->saveColumnStatus(15, $this->other2);
        $this->other2 = $val;
    }

    public function getOther2Detail()
    {
        return $this->other2Detail;
    }

    public function setOther2Detail($val)
    {
        $this->saveColumnStatus(16, $this->other2Detail);
        $this->other2Detail = $val;
    }

    public function getOther3()
    {
        return $this->other3;
    }

    public function setOther3($val)
    {
        $this->saveColumnStatus(17, $this->other3);
        $this->other3 = $val;
    }

    public function getOther3Detail()
    {
        return $this->other3Detail;
    }

    public function setOther3Detail($val)
    {
        $this->saveColumnStatus(18, $this->other3Detail);
        $this->other3Detail = $val;
    }

    public function getRecFlower()
    {
        return $this->recFlower;
    }

    public function setRecFlower($val)
    {
        $this->saveColumnStatus(19, $this->recFlower);
        $this->recFlower = $val;
    }

    public function getSellFlower()
    {
        return $this->sellFlower;
    }

    public function setSellFlower($val)
    {
        $this->saveColumnStatus(20, $this->sellFlower);
        $this->sellFlower = $val;
    }

    public function getFlowerOrder()
    {
        return $this->flowerOrder;
    }

    public function setFlowerOrder($val)
    {
        $this->saveColumnStatus(21, $this->flowerOrder);
        $this->flowerOrder = $val;
    }

    public function getCreateTime()
    {
        return $this->createTime;
    }

    public function setCreateTime($val)
    {
        $this->saveColumnStatus(22, $this->createTime);
        $this->createTime = $val;
    }

}